public class Java25 {
    private int age;
    private String name;
    private double height;

    public Java25(int age, String name, double height) {
        this.age = age;
        this.name = name;
        this.height = height;
    }

    public void speak(){
        System.out.println(name+"今年"+age+"了，身高"+height+"cm");
    }
}
